<script setup lang="ts">
const router = useRouter()
const { t } = useI18n()
</script>

<template>
  <main p="x4 y10" text="center destructive">
    <el-result icon="error">
      <template #title>
        <RouterView />
      </template>
      <template #extra>
        <el-button type="primary" @click="router.back()">
          {{ t('button.back') }}
        </el-button>
      </template>
    </el-result>
  </main>
</template>
